//
//  ByViewDetailSegment.h
//  oc_knowledge
//
//  Created by pro on 17/1/18.
//  Copyright © 2017年 com.itboye. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ByViewDetailSegment : UIView

// 初始化
- (instancetype)initWithFrame:(CGRect)frame
                     segments:(NSArray *)segments;

@property (nonatomic, copy) void (^tapAction)(NSInteger index, NSString *text);
@end
